cmake_minimum_required(VERSION 3.5)

project(dal_dmabufheap_test)

include_directories("$ENV{PKG_CONFIG_SYSROOT_DIR}/usr/include/hanhai")
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../include)

add_executable(dal_dmabufheap_mem_test_talker
    ../src/DmaBufHeapManager.cpp
    dal_dmabufheap_mem_test_talker.cpp
)

add_executable(dal_dmabufheap_mem_test_listener
../src/DmaBufHeapManager.cpp
    dal_dmabufheap_mem_test_listener.cpp
)

target_link_libraries(dal_dmabufheap_mem_test_talker dmabufheap)
target_link_libraries(dal_dmabufheap_mem_test_listener dmabufheap)
